package com.example.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2023-03-31
 * Time:18:33
 */
@Data
public class Userinfo {
    private Integer id;
    private String username;
    private String password;
    private String photo;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime createtime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime updatetime;
    private Integer state;
    private String gender;
    private String nickname;
    private String email;
    private String phone;
    private String lover;
    private Long unfreezingtime;//解除冻结的时间
}
